<template>
  <div>
    <h2>App:{{ page }}</h2>
    <!-- // value="xxx",@input="fff" 所以内部必须使用value接收 -->
    <ChildrenVue v-model="page"></ChildrenVue>
  </div>
</template>

<script>
import ChildrenVue from './components/children.vue'
export default {
  name: 'App',
  data() {
    return {
      page: 1,
    }
  },
  components: {
    ChildrenVue,
  },
  methods: {
    test() {
      console.log(arguments)
    },
  },
}
</script>

<style></style>
